package com.ruoyi.fetv.controller.vo.comment;

import com.ruoyi.common.core.domain.ServiceRequireFiled;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;

import javax.validation.constraints.NotNull;

/**
 * @ClassName EditReq
 * @Description
 * @Author 15014
 * @Time 2023/3/7 13:11
 * @Version 1.0
 */
@ApiModel(value = "FetvCommentEditReq", description = "资讯评论对象fetv_commentEditReq")
@Data
@Getter
public class EditReq extends ServiceRequireFiled {
    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id", required = true)
    @NotNull(message = "id不能为空")
    private Long id;

    /**
     * 资讯id
     */
    @ApiModelProperty(value = "资讯id")
    private Long informationId;

    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名")
    private String userName;

    /**
     * 评论内容
     */
    @ApiModelProperty(value = "评论内容")
    private String content;

    /**
     * 评论的父id
     */
    @ApiModelProperty(value = "评论的父id")
    private Long parentId;

    /**
     * 审核状态（0待审核 1通过 2不通过）
     */
    @ApiModelProperty(value = "审核状态（0待审核1通过2不通过）")
    private Long auditStatus;

    @ApiModelProperty(value = "删除标志（0代表存在2代表删除）,框架需要")
    private String delFlag;
}
